import api from '../utils/api';

export async function queryList(param) {
  return api.post('/basic/dataCenter/queryList', {
    data: JSON.stringify(param),
  });
}

export async function create(param) {
  return api.post('/basic/dataCenter/create', {
    data: JSON.stringify(param),
  });
}

export async function remove(param) {
  return api.post('/basic/dataCenter/remove', {
    data: JSON.stringify(param),
  });
}

export async function edit(param) {
  return api.post('/basic/dataCenter/edit', {
    data: JSON.stringify(param),
  });
}


